package cn.jasonone.bean;

import lombok.Data;

@Data
public class SysResourceNode {
	private Integer id;
	private Integer pid;
	private String name;
	private boolean checked;
	private boolean disabled;
	
	public SysResourceNode(SysResource resource) {
		this.id=resource.getId();
		this.pid=resource.getPid();
		this.name=resource.getName();
	}
}
